package codeforces;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class StringsTraining {

	private static final String[] VOVALS = {"a", "o", "y", "e", "u", "i"};
	
	public static void main(String[] args) {
		List<String> vovals = new ArrayList<String>();
		for (int i = 0; i < VOVALS.length; i++) {
			vovals.add(VOVALS[i]);
		}
		
		Scanner s = new Scanner(System.in);
		String input = s.next();
		
		StringBuilder b = new StringBuilder(input.toLowerCase());
		for (int i = 0; i < b.length(); i++) {
			
			if(vovals.contains(String.valueOf(b.charAt(i)))) {
				b.replace(i, i + 1, " ");
			}
		}
		StringBuilder b2 = new StringBuilder();
		for (int i = 0; i < b.length(); i++) {
			if(b.charAt(i) != ' ') {
				b2.append("." + String.valueOf(b.charAt(i)));
			}
		}
		System.out.println(b2.toString());
	}

}
